class Page {
    String name
    String title
    String content
    String contentType
    String head
    String topic
    static constraints = {
		title(nullable: true)
        head(nullable: true)
        topic(nullable: true)
    }
    static mapping = {
        columns {
            table 'yuying_page'
            name column:'page_name',index: "yuying_page_name_idx"
            topic index: "yuying_page_topic_idx"
        }
        content type:"text"      
    }
}
